﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    public class BasemanagementController : Controller
    {
        private readonly IConfiguration _configuration;

        public BasemanagementController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        //角色显示
        public IActionResult WhereHorseIndex()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        //仓库新增
        public IActionResult AddBaseStore()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        //仓库列表
        public IActionResult ListBaseStore()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
